#ifndef SRBUSINESSPAGE_H
#define SRBUSINESSPAGE_H

#include <QWidget>

class QStackedWidget;
class QPushButton;
class QLabel;

class SRAccountManageWidget;
class SRReviewAuditWidget;
class SRWithdrawCashAuditWidget;
class SROverviewWidget;
class SRBusinessPage : public QWidget
{
    Q_OBJECT
public:
    explicit SRBusinessPage(QWidget *parent = 0);
    ~SRBusinessPage(void);
Q_SIGNALS:

    void sigCloseClick(void);
    void sigMinimizeClick(void);

    void sigLogoutClick(void);

public Q_SLOTS:
    void onUserPswdLogin(const QString& _user,
                         const QString& _name);

    void onLogout(void);
private Q_SLOTS:
    void onChanggeBtnStyle(QWidget *_btn);
protected:


private:
    QList<QPushButton*> listPage_;
    QStackedWidget* stackedPage_;

    SROverviewWidget* pageOverview_;
    SRWithdrawCashAuditWidget* pageBusiness_;
    SRReviewAuditWidget* pageReview_;
    SRAccountManageWidget* pageAccount_;

    QLabel* labUserName_;

    QString user_;
    QString name_;


};

#endif // SRBUSINESSPAGE_H
